Proving Consistency of Pure Methods and Model Fields
نویسندگان
چکیده
Pure methods and model fields are useful and common specification constructs that can be interpreted by the introduction of axioms in a program verifier’s underlying proof system. Care has to be taken that these axioms do not introduce an inconsistency into the proof system. This paper describes and proves sound an approach that ensures no inconsistencies are introduced. Unlike some previous syntax-based approaches, this approach is based on semantics, which lets it admit some natural but previously problematical specifications. The semantic conditions are discharged by the program verifier using an SMT solver, and the paper describes heuristics that help avoid common problems in finding witnesses with trigger-based SMT solvers. The paper reports on the positive experience with using this approach in Spec# for over a year.
منابع مشابه
Drilling Trajectory Prediction Model for Push-the-bit Rotary Steerable Bottom Hole Assembly
The study of rotary steering drilling technology is currently one of the hot topics in the drilling engineering field. It requires accurate well trajectory control instructions when rotary steerable tools are applied to achieve the well trajectory control goal. A drilling trajectory prediction model will benefit this progress. According to the continuous beam theory, a mechanical model of push-...
متن کاملA short introduction to two approaches in formal verification of security protocols: model checking and theorem proving
In this paper, we shortly review two formal approaches in verification of security protocols; model checking and theorem proving. Model checking is based on studying the behavior of protocols via generating all different behaviors of a protocol and checking whether the desired goals are satisfied in all instances or not. We investigate Scyther operational semantics as n example of this...
متن کاملModel Theory and Differential Algebra
The origins of model theory and differential algebra, foundations of mathematics and real analysis, respectively, may be starkly different in character, but in recent decades large parts of these subjects have developed symbiotically. Abraham Robinson recognized that the broad view of model theory could supply differential algebra with universal domains, differentially closed fields . Not long ...
متن کاملLogic of Local Inference for Contextuality in Quantum Physics and Beyond
Contextuality in quantum physics provides a key resource for quantum information and computation. The topological approach in [3, 2] characterizes contextuality as “global inconsistency” coupled with “local consistency”, revealing it to be a phenomenon also found in many other fields. This has yielded a logical method of detecting and proving the “global inconsistency” part of contextuality. Ou...
متن کاملAn Epistemological Study of the Verse Tathir
The verse Tathir is regarded as one of the central verses in proving the infallibility of the Prophet and his future generation`s properties that have long been debated among the Fariqain commentators. The Sunni commentators, without any reasonable proof and only based on the context and etymology of the word al-bait, the house, have viewed all members of Quraysh in the Prophet's House, and in ...
متن کامل